387946f31d4e09558242305ba3ef2c3febaf1895,biojava-structure/src/main/java/org/biojava/nbio/structure/secstruc/SecStrucCalc.java,SecStrucCalc,findBridges,#,424
Before Change
Group g2 = ac.getPair().getSecond().getGroup();
// Get the indices
int i = indResMap.get(g1.getResidueNumber().getChainName()+g1.getResidueNumber().getSeqNum());
int j = indResMap.get(g2.getResidueNumber().getChainName()+g2.getResidueNumber().getSeqNum());
// If i>j switch them over
if(i>j){
// Switch them over
After Change
Group g2 = ac.getPair().getSecond().getGroup();
// Get the indices
int i = indResMap.get(g1.getResidueNumber());
int j = indResMap.get(g2.getResidueNumber());
// If i>j switch them over
if(i>j){
// Switch them over